import { User } from "@prisma/client";

export type SafeUser = Omit<User, 'password'>;

export interface LoginRequest {
    username: string;
    password: string;
  }
  
  export interface LoginResponse {
    token: string;
    user: SafeUser;
  }

  export interface RefreshTokenRequest {
    refreshToken: string;
  }
